#pragma once

#include"Common.h"

class Report
{
public:
	enum State{SUCCESS , FAIL};
	Report()
		:Success(false)
	{
	}
	Report(State state)
	{
		if(state == SUCCESS)
		{
			Success = true;
		}
		else if(state == FAIL)
		{
			Success = false;
		}
	}
	Report(const string& statement)
		:Statement(statement),
		Success(true)
	{
	}
	//--
	bool Success;
	string Statement;
};

namespace Reports
{
	const Report Success(Report::SUCCESS);
	const Report Fail(Report::FAIL);
}